<!--
  Copyright 2020 The Chromium Authors. All rights reserved.
  Use of this source code is governed by a BSD-style license that can be
  found in the LICENSE file.
-->
<script>
  function frameloaded() {
    const iframe = document.querySelector('iframe');
    iframe.onload = () => {};
    iframe.src = 'write-to-console2.html';
  }
</script>
<iframe onload="frameloaded()" src="write-to-console.html"></iframe>
